<div ng-include="sys_html('common/_header')"></div>
<div class="fui-page" ng-if="pagedata.op == 'list'">
	<div class='fui-content' style="padding-top:0">
		<div style="padding:0 0.5rem">
		<div class="fui-list-group order-item radius" ng-repeat="item in pagedata.list">
                <a class="fui-list external" style="padding: 0.42rem 0.5rem" data-nocache="true">
                    <div class="fui-list-inner">
                        <div class="subtitle"> {{item.code_type?'箱':'盒'}}编号: {{item.sn}}</div>
                    </div>
                    <div class="row-remark text-cancel" style="width: auto; font-size: 0.65rem;text-align: right;">{{item.islu==1?'已入库':'待入库'}}</div>
                </a>
				<a class="fui-list external" style="padding: 0.42rem 0.5rem" data-nocache="true">
                    <div class="fui-list-inner">
                        <div class="text">{{item.goods.title}}</div>
						<div class="subtitle">标签: {{item.code}}</div>
						<div class="subtitle">批次: {{item.goods.pici}}</div>
                    </div>
                </a>
                <div class="fui-list-group-title lineblock" style="line-height:1.6;height:auto">
					<div ng-if="item.merchname" style="color:red;font-size:0.65rem">经销商：{{item.merchname}}</div>
					<div style="color:#999;font-size:0.65rem"><i class="icon jinyunicon icon-shijian" style="color:#f60;font-size:0.60rem"></i> {{item.createtime}}</div>
                </div>
        </div>
		<div class="content-empty" ng-show="!pagedata.list || pagedata.list.length == 0">
		  <i class="icon jinyunicon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;"></i><br/><p style="color: #999;font-size: .75rem">您暂时没有记录！</p>
		</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('member/_footer')"></div>
<script>
scope.tool.get_list('/member.buylog/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('/member.buylog/list/');
}
</script>